<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/30
 * Time: 11:42
 */

namespace app\api\controller\v2;

use app\api\validate\IDMustBePostiveInt;

use app\api\model\Banner as BannerModel;
use app\lib\exception\BannerMissException;
use think\Exception;

class Banner
{
    /**
     * 获取置顶
     * @param $id
     * @http get
     * @url /banner/:id
     */
    public function getBanner($id)
    {
        return 'this is v2';
    }
}